FROM cubenet/python378-modelscope-nlp:1.5.2
ENV LANG=C.UTF-8 APP_PROFILE=prod
WORKDIR /serviceboot
ADD . /serviceboot
RUN sh pip-install-reqs.sh && \
    rm -rf /root/.cache/pip && \
    serviceboot compile_python
CMD serviceboot start
